package com.ruoyi.project.search.viewInStockHistroy.service;


import com.ruoyi.project.search.viewInStockHistroy.domain.ViewInStockHistory;

import java.util.List;

/**
 * 入库单据历史Service接口
 * 
 * @author ruoyi
 * @date 2023-08-29
 */
public interface IViewInStockHistoryService 
{
    /**
     * 查询入库单据历史
     * 
     * @param stockinId 入库单据历史主键
     * @return 入库单据历史
     */
    public ViewInStockHistory selectViewInStockHistoryByStockinId(String stockinId);

    /**
     * 查询入库单据历史列表
     * 
     * @param viewInStockHistory 入库单据历史
     * @return 入库单据历史集合
     */
    public List<ViewInStockHistory> selectViewInStockHistoryList(ViewInStockHistory viewInStockHistory);

    /**
     * 新增入库单据历史
     * 
     * @param viewInStockHistory 入库单据历史
     * @return 结果
     */
    public int insertViewInStockHistory(ViewInStockHistory viewInStockHistory);

    /**
     * 修改入库单据历史
     * 
     * @param viewInStockHistory 入库单据历史
     * @return 结果
     */
    public int updateViewInStockHistory(ViewInStockHistory viewInStockHistory);

    /**
     * 批量删除入库单据历史
     * 
     * @param stockinIds 需要删除的入库单据历史主键集合
     * @return 结果
     */
    public int deleteViewInStockHistoryByStockinIds(String stockinIds);

    /**
     * 删除入库单据历史信息
     * 
     * @param stockinId 入库单据历史主键
     * @return 结果
     */
    public int deleteViewInStockHistoryByStockinId(String stockinId);
}
